package test;

public class Booksell {

	public static void main(String args[]) 
	{
		Science_book sb=new Science_book(530,0.7f);
		sb.price=sb.getPrice(530, 0.7f);
		sb.show_kind();
		sb.show_price();
		Literature_book lb=new Literature_book(530,0.7f);
		lb.price=lb.getPrice(530,0.7f);
		lb.show_kind();
		lb.show_price();
		Teaching_book tb=new Teaching_book(530,0.7f);
		tb.price=tb.getPrice(530,0.7f);
		tb.show_kind();
		tb.show_price();
	}
}
